package com.shexianyu.notes.web.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author sxy
 * @version 1.0
 * @date 2021/2/26 14:56
 */
@Data
public class LoginDTO {
    @NotBlank(message = "用户名不能为空")
    private String account;
    @NotBlank(message = "密码不能为空")
    private String password;
}
